<style type="text/css">
    span a{color: #222222}
</style>
<div class="col-xs-12 col-sm-12 col-lg-12">
   <div class="panel panel-default">


    <div class="panel-body table-responsive">
        <p><strong>开发者接口：</strong>http://{$Think.config.MAIN_DOMAIN}{:U('interface2/response')}</p>
        <p><strong>TOKEN：</strong>{$Think.config.TOKEN}</p>
        <p><strong>EncodingAESKey:</strong> {$Think.config.EncodingAESKey}</p>

    <div style="margin-bottom:20px">
        <a href="#{:U('Wechat/wx_basic_reply')}" class="btn btn-primary">
            <i class="fa fa-plus">
            </i>
            添加回复
        </a>

        <a href="#{:U('Wechat/wx_basic_reply', ['id' => 1])}" class="btn btn-info">
            <i class="glyphicon glyphicon-user">
            </i>
            关注回复
        </a>

        <a href="#{:U('Wechat/wx_basic_reply', ['id' => 2])}" class="btn btn-danger">
            <i class="glyphicon glyphicon-comment">
            </i>
            默认回复
        </a>

    </div>
        <table class="table table-hover">
            <thead class="navbar-inner">
                <tr>
                    <th>
                        id
                    </th>
                    <th>
                        名称
                    </th>
                    <th>
                        关键字
                    </th>
                    <th>
                        返回内容
                    </th>
                    <th>
                        更新时间
                    </th>
                    <th style="min-width:70px; width:350px" class="text-right">
                        操作
                    </th>
                </tr>
            </thead>
            <tbody>
                <volist name="list" id="vo">
                <tr>
                    <td>
                        {$vo.id}
                    </td>
                    <td>
                        {$vo.name}
                    </td>
                    <td>
                        <span class="label label-warning">
                            {$vo.keyword}
                        </span>
                    </td>
                    <td>
                        <span class="label label-success">
                        {:htmlspecialchars_decode($vo['content'], ENT_QUOTES)}
                        </span>
                    </td>
                    <td>
                        {$vo.last_time}
                    </td>
                    <td align="right">
                        <a href="#{:U('Wechat/wx_basic_reply', ['id' => $vo['id']])}"
                        class="btn btn-default">
                            编辑
                        </a>

                        <a href="{:U('Wechat/wx_basic_reply_del', ['id' => $vo['id']])}"
                        class="btn btn-default">
                            删除
                        </a>
                    </td>
                </tr>
                </volist>
            </tbody>

        </table>
        {$page}
    </div>
</div>
<include file="Wechat/after_body" />
